package com.ruitu.router_module.bean.product;

import java.io.Serializable;
import java.util.List;

public class Sku implements Serializable {
    private static final long serialVersionUID = -3948688222070427034L;

    private String id;// ": 90,
    private String skuCode;//": "201806070026001",
    private String pic;//": "http://img.alicdn.com/imgextra/i8/TB1uiAYNMHqK1RjSZFkXfd.WFXa_112352.jpg_430x430q90.jpg",
    private String price;//": 3788,
    private String productId;//": 26,
    private String stock;//": 98,
    private String lowStock;//": 10,
    private String sale;//": 2,
    private String promotionPrice;//": 3588,

    private List<Attribute> attributes;// 规格列表

    // sku的属性(商品规格)
    public static class Attribute implements Serializable {
        private static final long serialVersionUID = -256928096186190484L;
        private String key;// ": "颜色",
        private String value;// ": "绿色"

        public String getKey() {
            return key;
        }

        public void setKey(String key) {
            this.key = key;
        }

        public String getValue() {
            return value;
        }

        public void setValue(String value) {
            this.value = value;
        }
    }

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getSkuCode() {
        return skuCode;
    }

    public void setSkuCode(String skuCode) {
        this.skuCode = skuCode;
    }

    public String getPic() {
        return pic;
    }

    public void setPic(String pic) {
        this.pic = pic;
    }

    public String getPrice() {
        return price;
    }

    public void setPrice(String price) {
        this.price = price;
    }

    public String getProductId() {
        return productId;
    }

    public void setProductId(String productId) {
        this.productId = productId;
    }

    public String getStock() {
        return stock;
    }

    public void setStock(String stock) {
        this.stock = stock;
    }

    public String getLowStock() {
        return lowStock;
    }

    public void setLowStock(String lowStock) {
        this.lowStock = lowStock;
    }

    public String getSale() {
        return sale;
    }

    public void setSale(String sale) {
        this.sale = sale;
    }

    public String getPromotionPrice() {
        return promotionPrice;
    }

    public void setPromotionPrice(String promotionPrice) {
        this.promotionPrice = promotionPrice;
    }

    public List<Attribute> getAttributes() {
        return attributes;
    }

    public void setAttributes(List<Attribute> attributes) {
        this.attributes = attributes;
    }
}
